package com.ruoyi.project.modules.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;
import java.util.Set;

/**
 * 业务需求信息对象 t_business_info
 * 
 * @author smallrain
 * @date 2021-10-28
 */
public class BusinessInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 业务名称 */
    @Excel(name = "业务名称")
    private String businessName;

    /** 业务说明 */
    @Excel(name = "业务说明")
    private String businessDescription;

    /** 是否是问题（Y是 N否） */
    @Excel(name = "是否是问题", readConverterExp = "Y=是,N=否")
    private String isQuestion;

    /** 需求类型（1普通 2痒点 3爽点 4痛点） */
    @Excel(name = "需求类型", readConverterExp = "1=普通,2=痒点,3=爽点,4=痛点")
    private String businessType;

    /** 紧急程度（1一般，2-中等，3-紧急） */
    @Excel(name = "紧急程度", readConverterExp = "1=一般，2-中等，3-紧急")
    private String degree;

    /** 重要程度（1一般，2-中等，3-紧急） */
    @Excel(name = "重要程度", readConverterExp = "1=一般，2-中等，3-紧急")
    private String important;

    /** 实现必要性 */
    @Excel(name = "实现必要性")
    private String implementationNecessity;

    /** 实现客户必要性 */
    @Excel(name = "实现客户必要性")
    private String implementationCustomerNecessity;

    /** 实现公司必要性 */
    @Excel(name = "实现公司必要性")
    private String implementationCampanyNecessity;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private List<Long> usageIds;

    private Set<Long> businessInfoIds;


    private int flag = 0;

    private Long userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }


    public Set<Long> getBusinessInfoIds() {
        return businessInfoIds;
    }

    public void setBusinessInfoIds(Set<Long> businessInfoIds) {
        this.businessInfoIds = businessInfoIds;
    }

    public List<Long> getUsageIds() {
        return usageIds;
    }

    public void setUsageIds(List<Long> usageIds) {
        this.usageIds = usageIds;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessName(String businessName) 
    {
        this.businessName = businessName;
    }

    public String getBusinessName() 
    {
        return businessName;
    }
    public void setBusinessDescription(String businessDescription) 
    {
        this.businessDescription = businessDescription;
    }

    public String getBusinessDescription() 
    {
        return businessDescription;
    }
    public void setIsQuestion(String isQuestion) 
    {
        this.isQuestion = isQuestion;
    }

    public String getIsQuestion() 
    {
        return isQuestion;
    }
    public void setBusinessType(String businessType) 
    {
        this.businessType = businessType;
    }

    public String getBusinessType() 
    {
        return businessType;
    }
    public void setDegree(String degree) 
    {
        this.degree = degree;
    }

    public String getDegree() 
    {
        return degree;
    }
    public void setImportant(String important) 
    {
        this.important = important;
    }

    public String getImportant() 
    {
        return important;
    }
    public void setImplementationNecessity(String implementationNecessity) 
    {
        this.implementationNecessity = implementationNecessity;
    }

    public String getImplementationNecessity() 
    {
        return implementationNecessity;
    }
    public void setImplementationCustomerNecessity(String implementationCustomerNecessity) 
    {
        this.implementationCustomerNecessity = implementationCustomerNecessity;
    }

    public String getImplementationCustomerNecessity() 
    {
        return implementationCustomerNecessity;
    }
    public void setImplementationCampanyNecessity(String implementationCampanyNecessity) 
    {
        this.implementationCampanyNecessity = implementationCampanyNecessity;
    }

    public String getImplementationCampanyNecessity() 
    {
        return implementationCampanyNecessity;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessName", getBusinessName())
            .append("businessDescription", getBusinessDescription())
            .append("isQuestion", getIsQuestion())
            .append("businessType", getBusinessType())
            .append("degree", getDegree())
            .append("important", getImportant())
            .append("implementationNecessity", getImplementationNecessity())
            .append("implementationCustomerNecessity", getImplementationCustomerNecessity())
            .append("implementationCampanyNecessity", getImplementationCampanyNecessity())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
